#!/usr/bin/bash
export INSTALL_K3S_VERSION=v1.20.7+k3s1
export K3S_TOKEN=K10b93f9c506534df60b08f2e683f3658c630dac27bb46429bf373c38b2d3d7d7ac::server:fedfec853038cc4ddc0b2713a6b1031a
export INSTALL_K3S_EXEC="--docker --kube-apiserver-arg service-node-port-range=1-65000 --no-deploy traefik --write-kubeconfig ~/.kube/config --write-kubecon"
curl -sfL http://rancher-mirror.cnrancher.com/k3s/k3s-install.sh | INSTALL_K3S_MIRROR=cn sh -